<style>
body { overflow: hidden; }
td {
  border: 1px solid black;
}
</style>
<table>
  <tr>
    <th></th>
    <th></th>
    <th>text-align:left</th>
    <th>text-align:center</th>
    <th>text-align:right</th>
  </tr>
  <tr>
    <th></th>
    <td><input type="file"></td>
    <td><input type="file" style="text-align:left"></td>
    <td><input type="file" style="text-align:center"></td>
    <td><input type="file" style="text-align:right"></td>
  </tr>
  <tr>
    <th>direction:ltr</th>
    <td><input type="file" style="direction:ltr"></td>
    <td><input type="file" style="direction:ltr; text-align:left"></td>
    <td><input type="file" style="direction:ltr; text-align:center"></td>
    <td><input type="file" style="direction:ltr; text-align:right"></td>
  </tr>
  <tr>
    <th>direction:rtl</th>
    <td><input type="file" style="direction:rtl"></td>
    <td><input type="file" style="direction:rtl; text-align:left"></td>
    <td><input type="file" style="direction:rtl; text-align:center"></td>
    <td><input type="file" style="direction:rtl; text-align:right"></td>
  </tr>
</table>
